home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / master / inherit_file < prev    next >
Text File  |  2001-04-23  |  809b  |  27 lines

  1. SYNOPSIS
  2.         mixed inherit_file (string file, string compiled_file)
  3.  
  4. DESCRIPTION
  5.         Generate the pathname of an inherited object.
  6.  
  7.         Arguments:
  8.           previous_object(): The object causing the compile.
  9.           file             : The name given in the inherit directive.
  10.           compiled_file    : The object file which is just compiled.
  11.                              (compat: name given without leading "/")
  12.  
  13.         Result:
  14.           0: use the given filename as it is.
  15.  
  16.           <path>: the full absolute pathname of the file to inherit,
  17.                   without parentdir parts ("/../"). Leading slashes ("/")
  18.                   are ignored.
  19.  
  20.           else: The inherit directive is not legal.
  21.  
  22. HISTORY
  23.         Introduced in LDMud 3.2.8.
  24.  
  25. SEE ALSO
  26.         hooks(C), include_file(M)
  27.